﻿using Chloe;
using WaterCloud.DataBase;
using WaterCloud.Domain.BasicData;

namespace WaterCloud.Repository.BasicData
{
    /// <summary>
    /// 创 建：超级管理员
    /// 日 期：2020-07-04 15:24
    /// 描 述：资产分类2数据实现类
    /// </summary>
    public class EquipmentsRepository : RepositoryBase<EquipmentsEntity>,IEquipmentsRepository
    {
        private IDbContext dbcontext;
        public EquipmentsRepository(IDbContext context)
             : base(context)
        {
            dbcontext = context;
        }
        public EquipmentsRepository(string ConnectStr, string providerName)
             : base(ConnectStr, providerName)
        {
            dbcontext = GetDbContext();
        }
    }
}
